package main

import (
	"math/rand"
	"strings"
)

var (
	charts = []byte("abcdefghijklmnopqrstuvwxyz-_")
	l      = len(charts)
)

func RandStr(size int) string {
	sb := strings.Builder{}
	for i := 0; i < size; i++ {
		sb.WriteByte(charts[rand.Intn(l)])
	}
	return sb.String()
}
